package com.lottery.system.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: xiaoxie
 * create: 2024-09-09 10:52
 * @BelongsProject: lottery-system
 * @BelongsPackage: com.lottery.system.controller.param
 * description: 创建活动的奖品参数
 */
@Data
public class CreatePrizeActivityParam implements Serializable {
    /**
     *  奖品id
     */
    @NotNull(message = "奖品id不能为空!")
    private Long prizeId;
    /**
     *  奖品数量
     */
    @NotNull(message = " 奖品数量不能为空!")
    private Long prizeAmount;
    /**
     *  奖品等级
     */
    @NotBlank(message = "奖品等级不能为空!")
    private String prizeTiers;
}
